package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.domain.entity.CommonEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @author wux
 * @date 2023/5/26 16:01
 */
@Data
@TableName("t_prod_task")
@ApiModel(value = "生产任务表")
public class TProdTask extends CommonEntity implements Serializable {
    @ApiModelProperty(value = "ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "产品id")
    private Long prodId;

    @ApiModelProperty(value = "生产单编号")
    private String taskCode;

    @ApiModelProperty(value = "计划产量")
    private Integer planNum;

    @ApiModelProperty(value = "状态 0未完成 1已完成")
    private Integer status;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "产品类型（取自产品类型接口的code）")
    private String prodType;
}
